package training_process.TrainingIV;

/**
 * Author by KyrieC
 * Created by sheting on 2023/11/21
 */
public class Addition extends BinaryOperation {
    public Addition(int operand1, int operand2) {
        super(operand1, operand2);
    }

    @Override
    public int getResult() {
        return operand1 + operand2;
    }

    @Override
    public String getOperator() {
        return "+";
    }
}

